package com.flaremars.picker.utils.http.newhttp;

/**
 * Created by FlareMars on 2016/1/28.
 */
public class ProgressBean {

    private long progress;
    private long total;
    private boolean done;

    public ProgressBean() {
        this(-1);
    }

    public ProgressBean(long total) {
        this(-1,total,false);
    }

    public ProgressBean(long progress, long total, boolean done) {
        this.progress = progress;
        this.total = total;
        this.done = done;
    }

    public long getProgress() {
        return progress;
    }

    public void setProgress(long progress) {
        this.progress = progress;
    }

    public long getTotal() {
        return total;
    }

    public void setTotal(long total) {
        this.total = total;
    }

    public boolean isDone() {
        return done;
    }

    public void setDone(boolean done) {
        this.done = done;
    }
}
